package com.jiliang.jiliangserver.service;

import com.jiliang.jiliangserver.domain.*;

import java.util.List;
import java.util.Map;

public interface MeterService {

    public Map selectMeterOverview();

    public List<Map> exceptionInfoStatistics(MeterQuery query);

    public Map exceptionSumStatistics(MeterQuery query);

    public Map selectUserStair(MeterQuery query);

    public List<Map> meterInfoStatistics(MeterQuery query);

    public List<Map> selectDiWater(MeterQuery query);

    public Map selectXqStair(MeterQuery query);

    public List<Map> selectMeterReadInfo(MeterQuery query);

    public List<Map> selectCbHistory(MeterQuery query);

    public List<Map> selectMeterReadHis(MeterQuery query);

    public List<Map> selectXqCbState(MeterQuery query);

    public List<Map> selectConcentratorState(MeterQuery query);

    public List<Map> selectMeterDetail(MeterQuery query);

    public List<Map> selectCbStatistics(MeterQuery query);

    public List<Map> selectMeterInfoList(MeterQuery query);

    public List<Map> selectUserWater(MeterQuery query);

    public List<Map> changeMeterAnalysis(MeterQuery query);

    public List<Map> selectUserRecentWater(MeterQuery query);

    public List<Map> monthYearCompare(MeterQuery query);

    public void alarmSetting(MeterDto meterDto);

    public Map selectMeterWaterSum(MeterQuery query);

    public List<Custinfo> selectCustinfoList(MeterQuery query);

    public void createCustinfo(Custinfo custinfo);

    public void editCustinfo(Custinfo custinfo);

    public List<RequestXh> selectRequestXhList(RequestXh requestXh);

    public List<RequestGzhb> selectRequestGzhbList(RequestGzhb gzhb);

    public List<Map> selectCbByMiid(MeterQuery query);

    public List<Map> selectXqCbByMonth(MeterQuery query);

    public void exceptionComfirm(String miid);

    //查询各类监控数量
    public Map selectMonitorCounts();

    public int createConcentrator(Concentrator concentrator);

    public List<Concentrator> selectConcentratorList(Concentrator concentrator);

    public int updateConcentrator(Concentrator concentrator);

    public Concentrator selectConcentratorById(Long id);

    public List<Map> selectDistrictinfo(MeterQuery query);

    public List<Map> selectCiWaterDetail(MeterQuery query);

    public List<Map> selectWaterTrendByDept(MeterQuery query);

}
